package de.argh.jteas.mojo.model.annotation;

/**
	Syntax:[XmlAttribute(
		alias="attribute", 
		order="order_index", 
		namespace="NameSpace_Prefix", 
		version="version_Name")]

    alias: The name of the attribute that represents this object in the xml request/response;
    order: Numeric value specifying the order ot the field on serialization. the order is used only if the ordered flag was set to true at class level.
    namespace: References by prefix a namespace registered for the current class. Allows the current item to be rendered with a qualified name containing the referenced namespace;
    version: version of the current annotation; annotations will be matched by this version value when the user needs to process an objects with different versions of xml.
    
   Syntax:[XmlElement(
		alias="element", 
		order="order_index", 
		namespace="NameSpace_Prefix", 
		version="version_Name")]

    alias: The name of the element that represents this object in the xml request/response;
    order: Numeric value specifying the order ot the field on serialization. the order is used only if the ordered flag was set to true at class level;
    namespace: References by prefix a namespace registered for the current class. Allows the current item to be rendered with a qualified name containing the referenced namespace;
    version: version of the current annotation; annotations will be matched by this version value when the user needs to process an objects with different versions of xml.
    
     
   Syntax:[XmlArray(
	   alias="element", 
	   type="my.full.type"
	   order="order_index" 
	   namespace="NameSpace_Prefix", 
	   version="version_Name")]

    alias: The name of the element/attribute that represents this object in the xml request/response;
    type: Specify the type of the array's members;
    order: Numeric value specifying the order ot the field on serialization. the order is used only if the ordered flag was set to true at class level.
    namespace: References by prefix a namespace registered for the current class. Allows the current item to be rendered with a qualified name containing the referenced namespace;
    version: version of the current annotation; annotations will be matched by this version value when the user needs to process an objects with different versions of xml. 
 * 
 * @author Rose
 *
 */
public class ASFieldAnnotation  extends ASAnnotation {
	
	private String type;
	private int order;
	private String namespacePrefix;
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getType() {
		return type;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public int getOrder() {
		return order;
	}

	public void setNamespacePrefix(String namespacePrefix) {
		this.namespacePrefix = namespacePrefix;
	}

	public String getNamespacePrefix() {
		return namespacePrefix;
	}
	
	
}
